const { log } = require('console');
const path = require('path');

const absolute = path.resolve('a', 'b', '../banner.html');
console.log(absolute);

// const relative = path.join('.///a', 'b', '../../banner.html')
// console.log(relative);
const url = path.parse('/Users/mark/Desktop/2204/QD_H5_2204/08_第八周/01_day/01_代码/a/banner.html');
console.log(url);
